<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/8/4
  Time: 10:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/news.css">
    <script src="../js/jquery-3.6.0.min.js"></script>
    <script src="../js/common.js"></script>

</head>

<body>

<div>
    <jsp:include page="top.jsp"></jsp:include>
    <div class="middle">
        <div>
            <div>
                <div class="title">新闻介绍</div>
                <div>
                    <div>行业动态</div>
                    <div>公司新闻</div>
                    <div>餐饮知识</div>
                </div>
            </div>
            <div>
                <!--                具体内容-->
                <div class="content">
                    <c:forEach var="model" items="${newsModels}">
                        <div>
                            <div>
                                <div><img src="../img/21.png" height="16" width="16"/></div>
                                <div>${model.title}
                                </div>
                            </div>
                            <div>${model.releaseTime}</div>
                        </div>
                    </c:forEach>


                </div>
                <!--                分页-->
                <div id="page"></div>
            </div>
        </div>
    </div>
    <jsp:include page="foot.jsp"></jsp:include>
</div>


</body>
</html>